package com.chenc.unitdemo.jwt.dto;

import lombok.*;

import java.time.LocalDateTime;

/**
 * @ClassName
 * @Describtion: 用户信息
 * @Author:Chenc
 * @Date:2024/1/3 16:32
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserDto {

    private Integer userId;
    private String username;
    private String password;
    private String nickname;
    //    private String token;//
    private String email;//邮箱
    private String mobile;//手机
    private LocalDateTime lastLoginTime;//最后一次登录时间
    private String avatar;//头像
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String creater;
    private String updater;
    private Integer status;//-1-删除 0-禁用 1-启用
    private Integer departmentId;//部门
    private String remark;//备注
    private Integer initPwd;//0-正常  1-首次登录  2-重置密码


}
